<br/><h1>music network swarms</h1>
		<br>
		| <% @catelogs.each do |c|%>
		<%=link_to_unless_current c.title,:action=>"list",:id=>c.id%> | 
<%end%>
<%=link_to 'All',:controller=>"/swarm",:action=>"list" %> |
		<br/>
		<table>
		<tr><td>SWARM</td><td> DESCRIPTION/SAVE/CONTACT &nbsp</td><td>USERS</td></tr>
		<br/>
		<% @swarm.each do |s|%>
			<tr> 
				<td><br/>
				<%= link_to_unless s.public==0, (image_tag "/images/kerjodando_pic/"+s.pic_url ,:size=>"100x100", :alt=> 'swarm image'),:controller => "/swarm",:action =>"show_one",:id => s.url %>
				</td>
				<td>
				<%=link_to_unless (s.public==0,s.title,:controller=>"swarm",:action=>"show_one",:id=>s.url){|title|title}%><br/><br/>
				<%=link_to_unless (s.public==0,"save",:controller=>"bookmark",:action=>"add",:id=>s.id){||"private, contact: "+s.contact_info} %></td>
				<td><b><%=CommonUtil.getusersbyid(s.id)%></b><br/></td>
			</tr>
		<%end%>
		</table>
		<div class="pages">
<%=pagination_links(@result_pages)%>
		</div>